﻿@using WebSite.Views
@using WebSite.ViewModels

<h2>Login</h2>

@using (Html.BeginForm("Index", "Login", FormMethod.Post, new { id = "loginForm", name="loginForm" }))
{
    <table border="0" cellspacing="5">
        <tr>
            <td>Usuario</td>
            <td>@Html.TextBox("usernamelogin")</td>
        </tr>
        <tr>
            <td>Senha</td>
            <td>@Html.Password("passwordlogin")</td>
        </tr>
        <tr>
            <td colspan="2">@ViewBag.Message</td>
        </tr>
        <tr>
            <td colspan="2">
                <div style="text-align:right">
                    <input type="submit" value="Entrar" class="t-button t-button-icon" />
                </div>
            </td>
        </tr>
    </table>
}